package edu.hwadee.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Area entity. @author MyEclipse Persistence Tools
 */

public class Area implements java.io.Serializable {

	// Fields

	private Integer areaId;
	private Area area;
	private String areaName;
	private Short level;
	private String pinyin;
	private Set logisticsdemandsForEndplace = new HashSet(0);
	private Set railagetasksForEndplace = new HashSet(0);
	private Set tasksForStartplace = new HashSet(0);
	private Set tasksForEndplace = new HashSet(0);
	private Set areas = new HashSet(0);
	private Set logisticsdemandsForStartplace = new HashSet(0);
	private Set cars = new HashSet(0);
	private Set companies = new HashSet(0);
	private Set staffs = new HashSet(0);
	private Set builds = new HashSet(0);
	private Set railagetasksForStartplace = new HashSet(0);

	// Constructors

	/** default constructor */
	public Area() {
	}

	/** full constructor */
	public Area(Area area, String areaName, Short level, String pinyin, Set logisticsdemandsForEndplace,
			Set railagetasksForEndplace, Set tasksForStartplace, Set tasksForEndplace, Set areas,
			Set logisticsdemandsForStartplace, Set cars, Set companies, Set staffs, Set builds,
			Set railagetasksForStartplace) {
		this.area = area;
		this.areaName = areaName;
		this.level = level;
		this.pinyin = pinyin;
		this.logisticsdemandsForEndplace = logisticsdemandsForEndplace;
		this.railagetasksForEndplace = railagetasksForEndplace;
		this.tasksForStartplace = tasksForStartplace;
		this.tasksForEndplace = tasksForEndplace;
		this.areas = areas;
		this.logisticsdemandsForStartplace = logisticsdemandsForStartplace;
		this.cars = cars;
		this.companies = companies;
		this.staffs = staffs;
		this.builds = builds;
		this.railagetasksForStartplace = railagetasksForStartplace;
	}

	// Property accessors

	public Integer getAreaId() {
		return this.areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public String getAreaName() {
		return this.areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Short getLevel() {
		return this.level;
	}

	public void setLevel(Short level) {
		this.level = level;
	}

	public String getPinyin() {
		return this.pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}

	public Set getLogisticsdemandsForEndplace() {
		return this.logisticsdemandsForEndplace;
	}

	public void setLogisticsdemandsForEndplace(Set logisticsdemandsForEndplace) {
		this.logisticsdemandsForEndplace = logisticsdemandsForEndplace;
	}

	public Set getRailagetasksForEndplace() {
		return this.railagetasksForEndplace;
	}

	public void setRailagetasksForEndplace(Set railagetasksForEndplace) {
		this.railagetasksForEndplace = railagetasksForEndplace;
	}

	public Set getTasksForStartplace() {
		return this.tasksForStartplace;
	}

	public void setTasksForStartplace(Set tasksForStartplace) {
		this.tasksForStartplace = tasksForStartplace;
	}

	public Set getTasksForEndplace() {
		return this.tasksForEndplace;
	}

	public void setTasksForEndplace(Set tasksForEndplace) {
		this.tasksForEndplace = tasksForEndplace;
	}

	public Set getAreas() {
		return this.areas;
	}

	public void setAreas(Set areas) {
		this.areas = areas;
	}

	public Set getLogisticsdemandsForStartplace() {
		return this.logisticsdemandsForStartplace;
	}

	public void setLogisticsdemandsForStartplace(Set logisticsdemandsForStartplace) {
		this.logisticsdemandsForStartplace = logisticsdemandsForStartplace;
	}

	public Set getCars() {
		return this.cars;
	}

	public void setCars(Set cars) {
		this.cars = cars;
	}

	public Set getCompanies() {
		return this.companies;
	}

	public void setCompanies(Set companies) {
		this.companies = companies;
	}

	public Set getStaffs() {
		return this.staffs;
	}

	public void setStaffs(Set staffs) {
		this.staffs = staffs;
	}

	public Set getBuilds() {
		return this.builds;
	}

	public void setBuilds(Set builds) {
		this.builds = builds;
	}

	public Set getRailagetasksForStartplace() {
		return this.railagetasksForStartplace;
	}

	public void setRailagetasksForStartplace(Set railagetasksForStartplace) {
		this.railagetasksForStartplace = railagetasksForStartplace;
	}

}